Weak Memory Consistency Models
نویسندگان
چکیده
Process coordination problems have been extensively addressed in the context of sequential consistency. However, modern multiprocessors present a large variety of memory models that are anything but sequentially consistent. In these machines, the ordering constraints on memory accesses are few. We re-address two fundamental process coordination problems in the context of weak memory models. We prove that many models cannot support a solution to the critical section problem without additional powerful synchronization primitives. Nevertheless, we show that certain versions of the producer/consumer problem can be solved even in the weakest models without the need for such powerful instructions. These instructions are expensive, and avoiding their use is desirable for better performance.
منابع مشابه
Selection-based Weak Sequential Consistency Models for Distributed Shared Memory
Based on time, processor, and data selection techniques, a group of Weak Sequential Consistency models have been proposed to improve the performance of Sequential Consistency for Distributed Shared Memory. These models can guarantee Sequential Consistency for data-race-free programs that are properly labelled. This paper reviews and discusses these models in terms of their use of the selection ...
متن کاملSpecifying Weak Memory Consistency with Temporal Logic
Modern multiprocessors only provide weak memory consistency that deviates from the traditional sequential consistency in many unintuitive ways: In essence, the read and write operations issued by one processor might be observed by other processors in a different order than executed by the issuing processor. It is therefore strongly recommended to formally verify multithreaded systems. To this e...
متن کاملWOMM: A Weak Operational Memory Model
Memory models of shared memory concurrent programs define the values a read of a shared memory location is allowed to see. Such memory models are typically weaker than the intuitive sequential consistency semantics to allow efficient execution. In this paper, we present WOMM (abbreviation for Weak Operational Memory Model) that formally unifies two sources of weak behavior in hardware memory mo...
متن کاملA unified formalization of four shared-memory models - Parallel and Distributed Systems, IEEE Transactions on
This paper presents a shared-memory model, datarace-free-l, that unifies four earlier models: weak ordering, release consistency (with sequentially consistent special operations), the VAX memory model, and data-race-free-0. The most intuitive and commonly assumed shared-memory model, sequential consistency, limits performance. The models of weak ordering, release consistency, the VAX, and data-...
متن کاملA Unified Formalization of Four Shared-Memory Models
This paper presents a shared-memory model, data-race-free-1, that unifies four earlier models: weak ordering, release consistency (with sequentially consistent special operations), the VAX memory model, and datarace-free-0. The most intuitive and commonly assumed shared-memory model, sequential consistency, limits performance. The models of weak ordering, release consistency, the VAX, and data-...
متن کاملPerformance of Weak Consistency Schemes on the DEC
The performance of a shared memory multiprocessor is largely dependent upon the model of shared memory that is presented to the user. Where the rst such machines typically supported a very powerful model of shared memory, that of sequential consistency , more recent designs have often beneeted from the use of weaker memory models. However, there has been little standardisation between these wea...
متن کامل